package myjava.test;

/**
 * @author Yancy
 * @program springioctest
 * @create 2020-11-13
 */
public class Demo02 {
  public static void main(String[] args) {
    //
    Demo01 demo01 = new Demo01(1, 1);
    demo01.x = demo01.y = 20;
    System.out.println("demo01.x=" + demo01.x + "  demo01.y=" + demo01.y);
    demo01.moveTo(30, 30);
    System.out.println("demo01.x=" + demo01.x + "  demo01.y=" + demo01.y);
  }
}
